package com.lx.dao;

import com.lx.api.response.RelateItemInfo;
import com.lx.model.PrintShopDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrintShopDishMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintShopDish record);

    int insertSelective(PrintShopDish record);

    PrintShopDish selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintShopDish record);

    int updateByPrimaryKey(PrintShopDish record);

    List<RelateItemInfo> findShopDishForRelate(@Param("merchantsId")Long merchantsId,@Param("shopId") Long shopId, @Param("dishPid")Long dishPid, @Param("shopDishName")String shopDishName, @Param("dishNo")String dishNo);
}